import "./assets/main.css";

import { createApp } from "vue";
import { createPinia } from "pinia";
import { getCurrRouter } from "./grants/router";
import App from "./App.vue";
import router from "./router";
import "element-plus/dist/index.css";
const app = createApp(App);
if (sessionStorage.getItem("checkedkeys")) {
  getCurrRouter();
}
app.use(createPinia());
app.use(router);

app.mount("#app");
